﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DailyList.aspx.cs" Inherits="Web.DailyList" %>

<!doctype html>
<html lang="en">
<head>
    <base target="_self" />
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <link href="yaml/core/base.min.css" rel="stylesheet" />
    <link href="yaml/forms/gray-theme.css" rel="stylesheet" />
    <link href="yaml/screen/typography.css" rel="stylesheet" />
    <!--[if lte IE 7]>
      <link rel="stylesheet" href="yaml/core/iehacks.min.css" type="text/css"/>
      <![endif]-->
    <!--[if lt IE 9]>
      <script src="yaml/lib/html5shiv/html5shiv.js"></script>
      <![endif]-->
    <style>
        td img{cursor:pointer;}
        .today{background:#c00;color:#ffffff;font-weight:bolder;}
        
        .ym-form label{ display: inline;}
    </style>
    <script>
        function edit(date) {
            var url = 'DailyEdit.aspx?date=' + date;
            var retVal = window.showModalDialog(url, window, 'dialogWidth=850px;dialogHeight=550px;status=no;help=no;');
            if (retVal != undefined && retVal.indexOf('Succeed') >= 0) {
                location.reload();
            }
        }
    </script>
</head>
<body>
    <form id="Form1" runat="server" class="ym-form">
    <label for="ddlName">姓名:</label><select id="ddlName" runat="server" class="ym-inline"></select>
    <label for="ddlYear">年:</label><select id="ddlYear" runat="server" class="ym-inline"></select>
    <label for="ddlMonth">月:</label><select id="ddlMonth" runat="server" class="ym-inline"></select>
    <asp:button runat="server" class="btn" text="查询" id="btnSeach" onclick="btnSeach_Click"/>
    <%=datas %>
    <div style="color:#cc0000;text-align:left;">注：点击日期下方的图标 “新增/编辑”日志</div>
    </form>
</body>
</html>